package com.oscar.ehome.bean.pagebean;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by juxing
 * author: MengWanhe
 * date: On 2017/8/31
 * 保单列表
 */

public class InsuranceBean {

    private int count = 0;
    private int lastPage = 1;
    private List<ListInuranceBean> list;

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getLastPage() {
        return lastPage;
    }

    public void setLastPage(int lastPage) {
        this.lastPage = lastPage;
    }

    public List<ListInuranceBean> getList() {
        if (list == null) {
            list = new ArrayList<>();
        }
        return list;
    }

    public void setList(List<ListInuranceBean> list) {
        this.list = list;
    }

    public class ListInuranceBean {
        private String id;
        private String createDate;
        private String insuredPerson;
        private String insuredPersonMobile;

        public String getId() {
            if (id == null) {
                id = "";
            }
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCreateDate() {
            if (createDate == null) {
                createDate = "暂无";
            }
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public String getInsuredPerson() {
            if (insuredPerson == null) {
                insuredPerson = "暂无";
            }
            return insuredPerson;
        }

        public void setInsuredPerson(String insuredPerson) {
            this.insuredPerson = insuredPerson;
        }

        public String getMobile() {
            if (insuredPersonMobile == null) {
                insuredPersonMobile = "暂无";
            }
            return insuredPersonMobile;
        }

        public void setMobile(String mobile) {
            this.insuredPersonMobile = mobile;
        }
    }

}
